import 'package:flutter/material.dart';

class TabBarDemo extends StatelessWidget{
  const TabBarDemo({super.key});

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return MaterialApp(
      home: DefaultTabController(
        length: 3,
        child: Scaffold(
          appBar: AppBar(
            bottom: const TabBar(tabs: [
              Tab(icon: Icon(Icons.insert_chart_rounded),),
              Tab(icon: Icon(Icons.cabin),),
              Tab(icon: Icon(Icons.perm_camera_mic_sharp),),
            ]),
          ),
        ),


      ),
    );
  }

}